package com.bussiness.system.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author zyj
 * @description
 * @date 2019/9/23 19:20
 **/
@ApiModel(value="资源参数")
public class MyAuthDto {
    @ApiModelProperty(value="资源id")
    private Long id;
    @ApiModelProperty(value="资源描述")
    private String description;
    @ApiModelProperty(value="资源图标")
    private String icon;
    @ApiModelProperty(value="资源方法 GET,POST,PUT,DELETE")
    private String method;
    @ApiModelProperty(value="资源名称")
    private String name;
    @ApiModelProperty(value="上级资源id")
    private Long pid;
    @ApiModelProperty(value="资源类型 0:页面  1：按钮")
    private int type;
    @ApiModelProperty(value="资源地址")
    private String url;
    @ApiModelProperty(value="资源code")
    private String authCode;
    @ApiModelProperty(value="排序")
    private Integer sort;
    @ApiModelProperty(value="状态")
    private Integer status;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getAuthCode() {
        return authCode;
    }

    public void setAuthCode(String authCode) {
        this.authCode = authCode;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
